import request from "@/api/request.js";



export function openSession(data) {
    return request({
        url: '/user/session/open',
        method: 'post',
        data: data
    })
}
export function loadSessionList(account) {
    return request({
        url: '/user/session/list/' + account,
        method: 'get',
    })
}
export function removeSession(account, toAccount) {
    return request({
        url: `/user/session/remove/${account}/${toAccount}`,
        method: 'delete',
    })
}
